const requester = require('../common/requester.js');

const getPageDesc = function (pageName) {
    return requester.request({
        url: requester.service.getPageDesc,
        data: {pageName}
    })
};

const queryMyPointAccount = function (callFrom) {
    return requester.request({
        url: requester.service.queryMyPointAccount,
        data: {callFrom}
    })
};

const makePoint = function (businessSource) {
    return requester.request({
        url: requester.service.makePoint,
        data: {businessSource}
    })
};


module.exports = {
    getPageDesc,
    queryMyPointAccount,
    makePoint
};